<?php

declare(strict_types=1);

namespace App\Common\Libary\Third\Request\PddRequest;

use App\Common\Dto\DataObject;

class PddDdkRpPromUrlGenerateRequest extends DataObject
{
    private int $channel_type;

    private array $p_id_list;

    private mixed $custom_parameters;

    private bool $generate_short_url;

    public function getChannelType(): int
    {
        return $this->channel_type;
    }

    public function setChannelType(int $channel_type): PddDdkRpPromUrlGenerateRequest
    {
        $this->channel_type = $channel_type;
        return $this;
    }

    public function getPIdList(): array
    {
        return $this->p_id_list;
    }

    public function setPIdList(array $p_id_list): PddDdkRpPromUrlGenerateRequest
    {
        $this->p_id_list = $p_id_list;
        return $this;
    }

    public function getCustomParameters(): mixed
    {
        return $this->custom_parameters;
    }

    public function setCustomParameters(mixed $custom_parameters): PddDdkRpPromUrlGenerateRequest
    {
        $this->custom_parameters = $custom_parameters;
        return $this;
    }

    public function isGenerateShortUrl(): bool
    {
        return $this->generate_short_url;
    }

    public function setGenerateShortUrl(bool $generate_short_url): PddDdkRpPromUrlGenerateRequest
    {
        $this->generate_short_url = $generate_short_url;
        return $this;
    }
}